<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>货物调拨待审列表</title>
	<script type="text/javascript" src="/Public/hdjs/jquery-1.11.3.min.js"></script>
    <link rel="stylesheet" href="/Public/hdjs/hdjs.css"/>
    <script type="text/javascript" src="/Public/hdjs/hdjs.min.js"></script>
	<link href="/Public/css/mine.css" type="text/css" rel="stylesheet" />
</head>
<body>
	<div class="div_head">
		<span>
			<span style="float: left;">当前位置是：仓库管理 >></span><span>货物调拨待审列表</span>
		</span>
	</div>
	<div style="font-size: 13px; margin: 10px 5px;padding:20px;">
		<div class="hd-page">
			<?php echo ($page); ?>
		</div>
		<table class="hd-table hd-table-list">
			<thead>
				<tr style="font-weight: bold;">
					<td class="hd-w80">货物编号</td>
					<td>货物名称</td>
					<td class="hd-w100">调出仓库</td>
					<td class="hd-w100">调入仓库</td>
					<td class="hd-w80">调拨数量</td>
					<td class="hd-w50">货物单位</td>
					<td class="hd-w100">申请时间</td>
					<td class="hd-w80">申请人</td>
					<td class="hd-w100">操作</td>
				</tr>
			</thead>
			<tbody>
				<?php if(is_array($log_l)): $i = 0; $__LIST__ = $log_l;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><tr id="product1">
					<td><?php echo ($v["gid"]); ?></td>
					<td><?php echo ($v["g_name"]); ?></td>
					<td><?php echo ($v["from"]); ?></td>
					<td><?php echo ($v["to"]); ?></td>					
					<td><?php echo ($v["count"]); ?></td>
					<td><?php echo ($v["dw_name"]); ?></td>
					<td><?php echo (date("Y-m-d",$v["d_time"])); ?></td>
					<td><?php echo ($v["doer"]); ?></td>
                    <td>
                    	<a href="<?php echo U('check',array('id'=>$v['id'],'mark' =>1));?>">通过</a>|
                    	<a href="<?php echo U('check',array('id'=>$v['id'],'mark' =>2));?>">拒绝</a>
                    </td>
				</tr><?php endforeach; endif; else: echo "" ;endif; ?>
			</tbody>
		</table>
		<div class="hd-page">
			<?php echo ($page); ?>
		</div>
	</div>
</body>
</html>